package test.excel.dto;

import java.util.ArrayList;
import java.util.List;

public class RowDto {
    private List<CellDto> cells = new ArrayList<CellDto>();

    public List<CellDto> getCells() {
        return cells;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();

        for (CellDto cell : cells) {
            sb.append(cell);
            sb.append(" | ");
        }

        return sb.toString();
    }
}
